package com.ctshk.rpc.cms.dto;

import com.ctshk.rpc.cms.req.LinkTypeReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value="PushDTO", description="PushDTO")
public class PushDTO implements Serializable {

    private static final long serialVersionUID = 5815291392234239777L;
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "推送标题")
    private String pushTitle;

    @ApiModelProperty(value = "推送类型id")
    private Long pushTypeId;

    @ApiModelProperty(value = "推送类型名称")
    private String pushTypeName;

    @ApiModelProperty(value = "推送渠道")
    private Integer pushChannel;

    @ApiModelProperty(value = "推送简介")
    private String pushIntroduce;

    @ApiModelProperty(value = "推送时间类型")
    private Integer pushTimeType;

    @ApiModelProperty(value = "推送时间")
    private LocalDateTime pushTime;

    @ApiModelProperty(value = "创建人ID")
    private Long createId;

    @ApiModelProperty(value = "创建人")
    private String userName;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "链接类型", required = true)
    private LinkTypeDTO linkTypeDTO;
}
